package cn.bob;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author bob
 * @data 2022/10/12-22:23
 */


@SpringBootApplication //声明这是一个启动类
@MapperScan("cn.bob.* mapper") //扫描mapper
public class DemoApp {
    public static void main(String[] args) {
        SpringApplication.run(DemoApp.class); //自己调自己
    }
}
